package com.cskaoyan.day31.work1._04_proxy._00_bean;

public class User implements BuyFood,Study{

    @Override
    public void buyBreakfast(String name) {
        System.out.println("买早餐"+name);
    }

    @Override
    public void buyLunch(String name) {
        System.out.println("买午餐"+name);
    }

    @Override
    public void buyDinner(String name) {
        System.out.println("买晚餐"+name);
    }

    @Override
    public String study(String name1, String name2) {
        String name  = name1 + " - "+name2;
        System.out.println(name);
        return name;
    }
}
